Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Notifications Banner #184

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Feat: Notifications Banner #184

wants to merge 7 commits into from

Conversation

yasserfaraazkhan
Copy link
Collaborator

Copy link
Collaborator

@lindalumitchell lindalumitchell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, Yasser, thanks! Just a few nit-picky suggestions. :)

"folder": "notifications-banner",
"tests": [
"Enable Desktop notification on Window/Mac/Ubuntu Desktop app",
"Enable/Disabled notification on Mobile app"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Enable/Disabled notification on Mobile app"
"Enable/Disable notification on Mobile app"

authors: "@yasserfaraazkhan"
team_ownership:
- ICU
priority_p1_to_p4: P2 - Core Functions (Do core functions work?)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
priority_p1_to_p4: P2 - Core Functions (Do core functions work?)
priority_p1_to_p4: P3 - Deep Functions (Do extensive scenarios work?)


**Step 1**

### Scenario: User Enable's the desktop notifications
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Scenario: User Enable's the desktop notifications
### Scenario: User Enables the desktop notifications

11. Open Settings modal. Expand "Desktop and mobile notification section".
12. Verify "Desktop notifications aren’t enabled" message is not visible anymore.

### Scenario: User Deny's the desktop notifications on WINDOWS / MAC / Ubuntu OS
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Scenario: User Deny's the desktop notifications on WINDOWS / MAC / Ubuntu OS
### Scenario: User Denies the desktop notifications on WINDOWS / MAC / Ubuntu OS

6. Verify a confirmation pop up is shown with message `Mattermost(<Instance link>) would like to send you notifications.`.
7. **Deny** the notifications permissions.
8. Receive a notification ping from another user.
9. Verify the notification pop-up are not seen.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
9. Verify the notification pop-up are not seen.
9. Verify the notification pop-up is not seen.

10. Verify the Global banner is not visible anymore.
11. Open Settings modal.
12. Verify a Alert tag is visible, saying "Permission required".
13. Expand "Desktop and mobile notification section".
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
13. Expand "Desktop and mobile notification section".
13. Expand "Desktop and mobile notifications" section.

13. Expand "Desktop and mobile notification section".
14. Verify "Desktop notifications permission was denied" message is visible. A buttons with text "Enable desktop notifications" and "How to enable notifications" are visible.

### Scenario: User Deny's the desktop notifications on Browsers Chrome/Safari/Firefox/Edge
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Scenario: User Deny's the desktop notifications on Browsers Chrome/Safari/Firefox/Edge
### Scenario: User Denies the desktop notifications on browsers Chrome/Safari/Firefox/Edge

@@ -0,0 +1,53 @@
---
# (Required) Ensure all values are filled up
name: "Enable/Disabled notification on Mobile app"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
name: "Enable/Disabled notification on Mobile app"
name: "Enable/Disable notification on Mobile app"

authors: "@yasserfaraazkhan"
team_ownership:
- ICU
priority_p1_to_p4: P2 - Core Functions (Do core functions work?)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
priority_p1_to_p4: P2 - Core Functions (Do core functions work?)
priority_p1_to_p4: P3 - Deep Functions (Do extensive scenarios work?)

@M-ZubairAhmed M-ZubairAhmed added the Do Not Merge Should not be merged until this label is removed label Oct 14, 2024
@M-ZubairAhmed
Copy link
Member

Adding this here since we have some more changes to be added with Desktop specific

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Do Not Merge Should not be merged until this label is removed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants